| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

ResourceMiscFlag.h
1 // ResourceMiscFlag.h
3 //
5
6 namespace nkGraphics
7 {
11 enum class RESOURCE_MISC_FLAG
12 {
13 RESOURCE_MISC_NONE = 0,
14 RESOURCE_MISC_GENERATE_MIPS = 0x1L,
15 RESOURCE_MISC_SHARED = 0x2L,
16 RESOURCE_MISC_TEXTURECUBE = 0x4L,
17 RESOURCE_MISC_DRAWINDIRECT_ARGS = 0x10L,
18 RESOURCE_MISC_BUFFER_ALLOW_RAW_VIEWS = 0x20L,
19 RESOURCE_MISC_BUFFER_STRUCTURED = 0x40L,
20 RESOURCE_MISC_RESOURCE_CLAMP = 0x80L,
21 RESOURCE_MISC_SHARED_KEYEDMUTEX = 0x100L,
22 RESOURCE_MISC_GDI_COMPATIBLE = 0x200L,
23 RESOURCE_MISC_SHARED_NTHANDLE = 0x800L,
24 RESOURCE_MISC_RESTRICTED_CONTENT = 0x1000L,
25 RESOURCE_MISC_RESTRICT_SHARED_RESOURCE = 0x2000L,
26 RESOURCE_MISC_RESTRICT_SHARED_RESOURCE_DRIVER = 0x4000L,
27 RESOURCE_MISC_GUARDED = 0x8000L,
28 RESOURCE_MISC_TILE_POOL = 0x20000L,
29 RESOURCE_MISC_TILED = 0x40000L,
30 RESOURCE_MISC_HW_PROTECTED = 0x80000L
31 } ;
32 }
nkGraphics::RESOURCE_MISC_FLAG
RESOURCE_MISC_FLAG
Available misc flags for resources.
Definition: ResourceMiscFlag.h:12
nkGraphics::RESOURCE_MISC_FLAG::RESOURCE_MISC_RESTRICTED_CONTENT
@ RESOURCE_MISC_RESTRICTED_CONTENT
Marks resource as needing protection.
nkGraphics::RESOURCE_MISC_FLAG::RESOURCE_MISC_TILED
@ RESOURCE_MISC_TILED
Marks as a tiled resource.
nkGraphics::RESOURCE_MISC_FLAG::RESOURCE_MISC_SHARED_NTHANDLE
@ RESOURCE_MISC_SHARED_NTHANDLE
Marks as using NT handle for sharing (for DirectX renderers).
nkGraphics::RESOURCE_MISC_FLAG::RESOURCE_MISC_BUFFER_STRUCTURED
@ RESOURCE_MISC_BUFFER_STRUCTURED
Marked as a structured buffer (containing a structure addressed through its index).
nkGraphics::RESOURCE_MISC_FLAG::RESOURCE_MISC_SHARED_KEYEDMUTEX
@ RESOURCE_MISC_SHARED_KEYEDMUTEX
Marked as enabling synchronization through mutex acquisition.
nkGraphics::RESOURCE_MISC_FLAG::RESOURCE_MISC_GDI_COMPATIBLE
@ RESOURCE_MISC_GDI_COMPATIBLE
Marks the resource as compatible with GDI (for DirectX renderers).
nkGraphics::RESOURCE_MISC_FLAG::RESOURCE_MISC_RESTRICT_SHARED_RESOURCE_DRIVER
@ RESOURCE_MISC_RESTRICT_SHARED_RESOURCE_DRIVER
Marks the resource as needing restriction from the driver.
nkGraphics::RESOURCE_MISC_FLAG::RESOURCE_MISC_DRAWINDIRECT_ARGS
@ RESOURCE_MISC_DRAWINDIRECT_ARGS
Marked as allowing instancing of GPU generated content.
nkGraphics::RESOURCE_MISC_FLAG::RESOURCE_MISC_NONE
@ RESOURCE_MISC_NONE
No flag.
nkGraphics::RESOURCE_MISC_FLAG::RESOURCE_MISC_RESTRICT_SHARED_RESOURCE
@ RESOURCE_MISC_RESTRICT_SHARED_RESOURCE
Marks a shared resource as needing protection.
nkGraphics::RESOURCE_MISC_FLAG::RESOURCE_MISC_HW_PROTECTED
@ RESOURCE_MISC_HW_PROTECTED
Marks as hardware protected.
nkGraphics::RESOURCE_MISC_FLAG::RESOURCE_MISC_GUARDED
@ RESOURCE_MISC_GUARDED
Marks as guarded, restricting write operations to a region of interest (for DirectX renderers).
nkGraphics::RESOURCE_MISC_FLAG::RESOURCE_MISC_TEXTURECUBE
@ RESOURCE_MISC_TEXTURECUBE
Marked as a cube texture.
nkGraphics::RESOURCE_MISC_FLAG::RESOURCE_MISC_TILE_POOL
@ RESOURCE_MISC_TILE_POOL
Marks as a tile pool.
nkGraphics::RESOURCE_MISC_FLAG::RESOURCE_MISC_BUFFER_ALLOW_RAW_VIEWS
@ RESOURCE_MISC_BUFFER_ALLOW_RAW_VIEWS
Marked as a byte address buffer (addressed through a byte offset).
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::RESOURCE_MISC_FLAG::RESOURCE_MISC_GENERATE_MIPS
@ RESOURCE_MISC_GENERATE_MIPS
Marked for automatic mip generation.
nkGraphics::RESOURCE_MISC_FLAG::RESOURCE_MISC_RESOURCE_CLAMP
@ RESOURCE_MISC_RESOURCE_CLAMP
Marked as enabling clamping of mips levels.
nkGraphics::RESOURCE_MISC_FLAG::RESOURCE_MISC_SHARED
@ RESOURCE_MISC_SHARED
Marked as shared between multiple devices.